
package com.ruoyi.data;

import java.security.*;
/**
 * 密码转换
 * @author chengY
 * @version 1.0
 */
public class MD5
{
	public static String md5(String s)
	{
		if(s!=null){
			char[] a = s.toCharArray();
			for (int i = 0; i < a.length; i++){
				a[i] = (char) (a[i] ^ 't');
			}
			String ss = new String(a);
			return ss;
		}

		return "";

	}
}
